<?php

class WibiModule extends CWebModule
{
	
	public function init()
	{
		$this->setImport(array(
			'wibi.models.*',
			'wibi.components.*',
		));
	}

	public function beforeControllerAction($controller, $action)
	{
		if(parent::beforeControllerAction($controller, $action))
		{
			$controller->layout='webroot.themes.front.views.layouts.column2';
			Yii::app()->clientScript->scriptMap['*.css'] = false;
			return true;
		}
		else
			return false;
	}
}
